/**
 * Copyright &copy; 2015-2020 <a href="http://www.easyhis.com/">easyhis</a> All rights reserved.
 */
package com.easy.dfc.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;

import com.easy.core.persistence.DataEntity;
import com.easy.common.utils.excel.annotation.ExcelField;

/**
 * 易者客户管理系统Entity
 * @author waylen chi
 * @version 2017-12-05
 */
public class DfcActivity {
	
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String uuId;		// 报名活动UUID
	private Integer typeId;		// 活动类型ID
	private Date startTime;		// 活动开始时间
	private Date endTime;		// 活动结束时间
	private Date enrollStartTime;		// 活动报名开始时间
	private Date enrollEndTime;		// 活动报名结束时间
	private String subject;		// 活动名称
	private String condition;		// 活动条件
	private BigDecimal minPrice;		// 活动价格下限
	private BigDecimal maxPrice;		// 活动价格上限
	private Integer totalPsn;		// 活动人数
	private Integer allowPsn;		// 允许可报名人数
	private BigDecimal amnt;		// 报名费
	private Integer allowCount;		// 活动件数
	private String flag;		// 属性（1-长期活动，2-短期活动）
	private String sno;		// 排序
	private Date createTime;		// 创建时间
	private Integer createId;		// 创建者
	private Date updateTime;		// 更新时间
	private Integer updateId;		// 更新者
	

	@ExcelField(title="报名活动UUID", align=2, sort=1)
	public String getUuId() {
		return uuId;
	}

	public void setUuId(String uuId) {
		this.uuId = uuId;
	}
	
	@ExcelField(title="活动类型ID", align=2, sort=2)
	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="活动开始时间", align=2, sort=3)
	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="活动结束时间", align=2, sort=4)
	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="活动报名开始时间", align=2, sort=5)
	public Date getEnrollStartTime() {
		return enrollStartTime;
	}

	public void setEnrollStartTime(Date enrollStartTime) {
		this.enrollStartTime = enrollStartTime;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="活动报名结束时间", align=2, sort=6)
	public Date getEnrollEndTime() {
		return enrollEndTime;
	}

	public void setEnrollEndTime(Date enrollEndTime) {
		this.enrollEndTime = enrollEndTime;
	}
	
	@ExcelField(title="活动名称", align=2, sort=7)
	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}
	
	@ExcelField(title="活动条件", align=2, sort=8)
	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}
	
	@ExcelField(title="活动价格下限", align=2, sort=9)
	public BigDecimal getMinPrice() {
		return minPrice;
	}

	public void setMinPrice(BigDecimal minPrice) {
		this.minPrice = minPrice;
	}
	
	@ExcelField(title="活动价格上限", align=2, sort=10)
	public BigDecimal getMaxPrice() {
		return maxPrice;
	}

	public void setMaxPrice(BigDecimal maxPrice) {
		this.maxPrice = maxPrice;
	}
	
	@ExcelField(title="活动人数", align=2, sort=11)
	public Integer getTotalPsn() {
		return totalPsn;
	}

	public void setTotalPsn(Integer totalPsn) {
		this.totalPsn = totalPsn;
	}
	
	@ExcelField(title="允许可报名人数", align=2, sort=12)
	public Integer getAllowPsn() {
		return allowPsn;
	}

	public void setAllowPsn(Integer allowPsn) {
		this.allowPsn = allowPsn;
	}
	
	@ExcelField(title="报名费", align=2, sort=13)
	public BigDecimal getAmnt() {
		return amnt;
	}

	public void setAmnt(BigDecimal amnt) {
		this.amnt = amnt;
	}
	
	@ExcelField(title="活动件数", align=2, sort=14)
	public Integer getAllowCount() {
		return allowCount;
	}

	public void setAllowCount(Integer allowCount) {
		this.allowCount = allowCount;
	}
	
	@ExcelField(title="属性（1-长期活动，2-短期活动）", align=2, sort=15)
	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}
	
	@ExcelField(title="排序", align=2, sort=16)
	public String getSno() {
		return sno;
	}

	public void setSno(String sno) {
		this.sno = sno;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="创建时间", align=2, sort=17)
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="更新时间", align=2, sort=19)
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCreateId() {
		return createId;
	}

	public void setCreateId(Integer createId) {
		this.createId = createId;
	}

	public Integer getUpdateId() {
		return updateId;
	}

	public void setUpdateId(Integer updateId) {
		this.updateId = updateId;
	}
}